import request from "../../utils/request";

export default {
  //危废污泥包装类型下拉
  getPackingTypes:(params)=>{
    return request({
      url:'/hh-management-web/hehui/stock/findAllPackingTypes',
      method:'GET',
    })
  },
  //危废污泥仓库号下拉
  getWarehouseNumbers:(params)=>{
    return request({
      url:'/hh-management-web/hehui/stock/findAllWarehouseNumbers',
      method:'GET',
      params:params
    });
  },
  //危废污泥物理形态下拉
  getPhysicalStates:()=>{
    return request({
      url:'/hh-management-web/hehui/stock/findAllPhysicalStates',
      method:'GET'
    });
  },
  //根据固废类型获取标识码
  getCode:(params)=>{
    return request({
      url:'/hh-management-web/hehui/qrcode/findOrdinarySludgeIdentificationCode',
      method:'GET',
      params:params
    })
  },
  //产废单位下拉
  getProductionUnits:()=>{
    return request({
      url:'/hh-management-web/hehui/qrcode/getAllWasteProductionUnits',
      method:'GET',
    });
  },
  //运输单位下拉
  getTrafficUnits:()=>{
    return request({
      url:'/hh-management-web/hehui/qrcode/findAllTrafficUnits',
      method:'GET'
    });
  },
  //安环固废类型下拉
  getWasteType:()=>{
    return request({
      url:'/hh-management-web/hehui/qrcode/findAllSolidWasteTypes',
      method:'GET'
    });
  },
  //特种人员工种下拉
  getJobTypes:()=>{
    return request({
      url:'/hh-management-web/hehui/safe/findAllJobTypes',
      method:'GET'
    });
  }
}
